Photonic_Plugin\Modules\OAuth2 S

Total Complexity 41
Dependencies 2
Dependents 0
Total lines 187
Lines of code 127
Logical lines of code 64
Comment lines 27
Methods 12
Properties 8

Methods 12

Method Rating Maintainability Complexity Lines of code
authenticate()
A
45 16 41
is_token_expired()
A
57 9 16
get_access_token()
S
50 4 29
parse_token()
S
56 4 18
get_authorization_url()
S
57 1 16
__construct()
S
77 1 4
authentication_url()
S
100 1 0
access_token_url()
S
100 1 0
renew_token()
S
100 1 0
set_token_validity()
S
100 1 0
redirect_url()
S
81 1 3
is_token_expiring_soon()
S
100 1 0